package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author wxm
 * @date 2025/2/12 14:35
 */
@SpringBootApplication
@MapperScan("org.example.mapper")
@EnableAspectJAutoProxy
@ConfigurationPropertiesScan("org.example.config")
public class Main {
    public static void main(String[] args) {
        SpringApplication.run(Main.class, args);
        String template = """
                                                   __                _
                                                  |  ]              (_)
                 .--.   ____  ______  ,--.    .--.| |  _ .--..--.   __   _ .--.
                ( (`\\] [_   ]|______|`'_\\ : / /'`\\' | [ `.-. .-. | [  | [ `.-. |
                 `'.'.  .' /_        // | |,| \\__/  |  | | | | | |  | |  | | | |
                [\\__) )[_____]       \\'-;__/ '.__.;__][___||__||__][___][___||__]
                ------------------%s  (v)-------------------
                """;
        String result = String.format(template, "https://szadmin.cn");
        System.out.println(result);
    }
}